package com.zwl.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("room_cards")
public class RoomCard {  //钥匙卡
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    @TableField("card_image")
    private String cardImage;
    
    @TableField("map_name")
    private String mapName;
    
    @TableField("room_name")
    private String roomName;
    
    @TableField("usage_location")
    private String usageLocation;
    
    @TableField("key_card_value")
    private Integer keyCardValue;
    
    @TableField("single_door_open_cost")
    private Integer singleDoorOpenCost;
    
//    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;
    
//    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedAt;
}